Welcome to nimbuzz4all.waphall.com
Form
HTML form and input tutorial FORM is a area that can contains form elements. a form is defined with the <form> tag. <form> <input> </form> INPUT the most used form tag is the <input> tag. the type of input is specified with the type attribute. Text fields are used when you want the to type letters, numbers. etc. in a form. <form>username:<input type="text" name="username"><br/>password:<input type="pwd" name="password"></form> Radio buttons are used when you want the user to select one of a limited number of choices. <form><input type="radio" name="gender" value="male">male<br/><input type="radio" name="gender" value="female">female</form> Checkboxes are used when you want the user to select one or more options of a limited number of choices. <form>druglord<input type="checkbox" name="drug" value="drug"><br/>criminal<input type="checkbox" name="criminal" value="criminal"><br/>rapist<input type="checkbox" name="rapist" value="rapist"></form> The form's action attribute and the submit button when the user clicks on the "submit" button, the content of the form is sent to the server. the forms actinn attributes defines the name of the file to send the content to. the file defined in the action attribute usually does something with the receive input. <form name="input" action="html_form_submit.asp" method="get">username<input type="text" name="user"><input type="submit" value="submit"></form> Home
posted by mr.sajaniya